//
//  DGGCStatusBarHelp.m
//  DGGCustomer
//
//  Created by 顶呱呱-MW on 2019/12/26.
//  Copyright © 2019 dgg_lyb. All rights reserved.
//

#import "DLStatusBarHelp.h"

@implementation DLStatusBarHelp

+ (void)setStatusBarLight{
    
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;

    
}

+ (void)setStatusBarDark{
#ifdef __IPHONE_13_0
    if (@available(iOS 13, *)) {

        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDarkContent;

    } else {

        [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;

    }
#else
     [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault;
#endif

}

@end
